﻿ <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006"
    xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
	xmlns:Sinacor_Infra_UI_Controls="clr-namespace:Sinacor.Infra.UI.Controls;assembly=Sinacor.Infra.UI.Controls"
	xmlns:s="clr-namespace:System;assembly=mscorlib">

	<ControlTemplate x:Key="FamilyListViewItemTemplate" TargetType='{x:Type ListViewItem}'>
		<Grid SnapsToDevicePixels="True" Margin="0,3,0,0">
			<Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
			<GridViewRowPresenter TextBlock.Foreground="{DynamicResource ListViewFontColor}" TextBlock.FontSize="11" Content="{TemplateBinding Content}" Columns="{TemplateBinding GridView.ColumnCollection}"/>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsSelected" Value="true">
				<Setter Property="Background" Value="{DynamicResource SelectedListBoxBrush}" TargetName="Border"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>


	<Style x:Key="SinacorMaisLightStyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Path Opacity="1" Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFFFFFFF" StrokeThickness="1" x:Name="BrilhoMais" Data="M137.22217,718.96051 C137.22183,718.96051 130.66173,720.19674 130.57436,720.19674 127.33599,720.19674 129.52613,719.89675 126.81475,722.22568 126.66661,722.35293 124.03403,725.32295 124.03403,725.32295 124.03403,725.32295 122.89206,727.448 121.1856,728.20643 120.70463,728.42019 119.97226,728.37173 118.96297,728.3337 118.17315,728.30395 117.59008,728.79846 117.33695,727.93782 117.04103,726.9317 119.10494,725.12799 119.85231,724.00694 120.86074,722.49428 120.90243,722.54945&#xd;&#xa;121.03703,722.22568 121.44096,721.25409 122.43236,720.06087 121.77794,720.00016 120.64334,719.89492 119.06136,719.96906 117.92189,719.96906 117.21566,719.96906 115.70896,719.89569 114.24021,720.00014 113.01493,720.08729 112.65022,720.00486 112.00049,720.06242 111.64949,720.09352 111.7041,718.40816 112.00056,718.40816 112.00068,718.40816 113.44305,717.53889 114.683,717.2909 115.9978,717.02794 121.7644,717.29944 121.7644,717.29944 125.01491,717.29944&#xd;&#xa;124.03707,716.73623 125.79097,713.22844 126.60872,711.59293 127.19251,712.38707 127.85186,710.51839 128.29629,709.25885 130.81467,709.25885 130.81473,709.25885 130.96288,709.25885 133.20946,709.34 133.38495,710.39136 133.54851,711.37132 131.99983,709.51335 131.99983,711.5366 131.99983,712.55272 130.91728,715.24189 130.66655,716.24479 130.3866,717.36459 135.25935,716.06327 135.25935,717.2909 135.31779,717.2909 139.48455,715.47373 137.22217,718.96051&#xd;&#xa; z" HorizontalAlignment="Stretch" Margin="0.621,3.068,3.018,2.733" VerticalAlignment="Stretch"/>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True"/>
						<Trigger Property="IsPressed" Value="True"/>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>


	<LinearGradientBrush x:Key="LoadingBackgroundDisplayBrush"  EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FF323F56" Offset="0"/>
		<GradientStop Color="#FFFFFFFF" Offset="1"/>
	</LinearGradientBrush>

	<Style x:Key="loadingPanelStyle" TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorLoadingPanel}">
		<Setter Property ="HorizontalAlignment" Value="Stretch" />
		<Setter Property ="VerticalAlignment" Value="Stretch" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType='{x:Type Sinacor_Infra_UI_Controls:SinacorLoadingPanel}'>
					<Grid x:Name="grid" Opacity="1">
						<Grid Margin="0,0,0,0"
							  Background="{DynamicResource BackgroundBrush}"
							  OpacityMask="{DynamicResource LoadingPanelBrush}"
							  HorizontalAlignment="Stretch"
							  VerticalAlignment="Stretch"
							  x:Name ="gridOpacity"
							  Opacity="0.65">
						</Grid>
						<Grid HorizontalAlignment="Center"
							  x:Name="gridDisplay"
							  VerticalAlignment="Center"
							  Width="217.124"
							  Height="99.5"
							  Opacity="1"
							  Visibility="Hidden" 
							Background ="{DynamicResource LoadingBackgroundDisplayBrush}">
							<Label Foreground="{DynamicResource FontColor}" Content="{DynamicResource TextoCarregando}" FontSize="22"  Width="Auto" HorizontalAlignment="Center" Margin="0,0,0,15" VerticalAlignment="Bottom" Height="Auto"/>
							<Image HorizontalAlignment="Center" Margin="0,17.577,0,0" VerticalAlignment="Top" Width="115.188" Height="25.597" Source="..\..\..\Images\Sinacor Glow.png" Stretch="None"/>
							<!--- <Button Style="{DynamicResource SinacorMaisLightStyle}" Width="32" Height="32" Content="" HorizontalAlignment="Right" Margin="0,14.174,48.968,0" VerticalAlignment="Top"/> -->
						</Grid>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsLoading" Value="true">
							<Setter Property="Visibility" Value="Visible" TargetName="gridDisplay"/>
						</Trigger>
						<Trigger Property="IsLoading" Value="false">
							<Setter Property="Visibility" Value="Hidden" TargetName="gridDisplay"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>

			</Setter.Value>
		</Setter>
	</Style>

	 <Style x:Key="CheckBoxMenuItemStyle" TargetType="{x:Type MenuItem}">
		 <Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		 <Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		 <Setter Property="Background" Value="Transparent"/>
		 <Setter Property="Foreground" Value="{DynamicResource MenuItemForeground}"/>
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type MenuItem}">
					 <Border x:Name="Border" Background="{DynamicResource BackgroundBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
						 <Grid>
							 <Grid.ColumnDefinitions>
								 <ColumnDefinition MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup"/>
								 <ColumnDefinition Width="*"/>
								 <ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup"/>
								 <ColumnDefinition Width="14"/>
							 </Grid.ColumnDefinitions>


							 <ContentPresenter Margin="4,0,6,0" x:Name="Icon" VerticalAlignment="Center" ContentSource="Icon"/>

							 <Grid Visibility="Hidden" Margin="4,0,6,0" x:Name="GlyphPanel" VerticalAlignment="Center">
								 <Path x:Name="GlyphPanelpath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z" FlowDirection="LeftToRight"/>
							 </Grid>

							 <ContentPresenter Grid.Column="1" Margin="{TemplateBinding Padding}" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header"/>

							 <Grid Grid.Column="3" Margin="4,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
								 <Path x:Name="ArrowPanelPath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,0 L0,8 L4,4 z"/>
							 </Grid>

							 <Popup IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" VerticalOffset="-3">
								 <Grid x:Name="SubMenu">
									 <Border x:Name="SubMenuBorder" Background="{DynamicResource StatisticsControlBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>

									 <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
								 </Grid>
							 </Popup>

						 </Grid>
					 </Border>

					 <ControlTemplate.Triggers>

						 <Trigger Property="Role" Value="TopLevelHeader">
							 <Setter Property="Margin" Value="0,1,0,1"/>
							 <Setter Property="Padding" Value="6,3,6,3"/>
							 <Setter Property="Grid.IsSharedSizeScope" Value="true"/>
							 <Setter Property="Placement" Value="Bottom" TargetName="SubMenuPopup"/>
							 <Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						 </Trigger>

						 <Trigger Property="Role" Value="TopLevelItem">
							 <Setter Property="Margin" Value="0,1,0,1"/>
							 <Setter Property="Padding" Value="6,3,6,3"/>
							 <Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						 </Trigger>

						 <Trigger Property="Role" Value="SubmenuHeader">
							 <Setter Property="DockPanel.Dock" Value="Top"/>
							 <Setter Property="Padding" Value="0,2,0,2"/>
							 <Setter Property="Grid.IsSharedSizeScope" Value="true"/>
						 </Trigger>

						 <Trigger Property="Role" Value="SubmenuItem">
							 <Setter Property="DockPanel.Dock" Value="Top"/>
							 <Setter Property="Padding" Value="0,2,0,2"/>
							 <Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						 </Trigger>
						 <Trigger Property="IsSuspendingPopupAnimation" Value="true">
							 <Setter Property="PopupAnimation" Value="None" TargetName="SubMenuPopup"/>
						 </Trigger>

						 <Trigger Property="Icon" Value="{x:Null}">
							 <Setter Property="Visibility" Value="Collapsed" TargetName="Icon"/>
						 </Trigger>

						 <Trigger Property="IsChecked" Value="true">
							 <Setter Property="Visibility" Value="Visible" TargetName="GlyphPanel"/>
							 <Setter Property="Visibility" Value="Collapsed" TargetName="Icon"/>
						 </Trigger>

						 <Trigger Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
							 <Setter Property="Margin" Value="0,0,3,3" TargetName="SubMenu"/>
							 <Setter Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu"/>
							 <Setter Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder"/>
						 </Trigger>

						 <Trigger Property="IsHighlighted" Value="true">
							 <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
							 <Setter Property="BorderBrush" TargetName="SubMenuBorder" Value="{DynamicResource BorderBrush}"/>
							 <Setter Property="Background" TargetName="SubMenuBorder" Value="{DynamicResource DisabledMenuForegroundBrush}"/>
							 <Setter Property="Background" TargetName="Border" Value="{DynamicResource GlyphBrush}"/>
						 </Trigger>
						 <Trigger Property="IsEnabled" Value="false">
							 <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						 </Trigger>
					 </ControlTemplate.Triggers>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>
	 
	 
	<ControlTemplate x:Key="SidebarSystemMenuButton" TargetType="{x:Type Button}">
		<Grid>
			<Rectangle x:Name="Rectangle" Stroke="{DynamicResource BorderBrush}" StrokeMiterLimit="1.000000" StrokeThickness="1" RadiusX="0" RadiusY="0" Fill="{DynamicResource BackgroundBrush}"/>
			<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Stretch" RecognizesAccessKey="True" HorizontalAlignment="Stretch" Margin="8,9.52,8,9.52"/>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsKeyboardFocused" Value="true"/>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Fill" TargetName="Rectangle" Value="{DynamicResource InputBackgroundBrush}"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>

	<ControlTemplate x:Key="SidebarMenuButton" TargetType="{x:Type Button}">
		<Grid>
			<Rectangle x:Name="Rectangle" Stroke="{DynamicResource BorderBrush}" StrokeMiterLimit="1.000000" StrokeThickness="0" RadiusX="0" RadiusY="0" Fill="{x:Null}"/>
			<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Stretch" RecognizesAccessKey="True" Margin="8,9.52,8,9.52"/>
			<Border BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1,0,1,1"/>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsKeyboardFocused" Value="true"/>
			<Trigger Property="IsMouseOver" Value="true">
				<Setter Property="Fill" TargetName="Rectangle" Value="{DynamicResource InputBackgroundBrush}"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>
	
	<Style x:Key="BorderStyle" TargetType="{x:Type Border}">
		<Setter Property="BorderThickness" Value="0"/>
		<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}"/>
		<Setter Property="CornerRadius" Value="10,10,10,10"/>
	</Style>

	<Style TargetType="{x:Type Label}">
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="FontWeight" Value="Normal"/>
		<Setter Property="Padding" Value="0"/>
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="FontSize" Value="13"/>
	</Style>

	<Style TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Calibri"/>
	</Style>

	<Style x:Key="AvatarTextBlockStyle" TargetType="{x:Type TextBlock}">
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
	</Style>

	<Style x:Key="PhotosListStyle" TargetType="{x:Type ListBox}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBox}" >
					<ScrollViewer
					  VerticalScrollBarVisibility="Disabled"
					  HorizontalScrollBarVisibility="Disabled" Margin="5,5,5,5">
						<WrapPanel IsItemsHost="True" VerticalAlignment="Top" />
					</ScrollViewer>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="PhotosListItemStyle" TargetType="{x:Type ListBoxItem}">
		<Setter Property="Margin" Value="0,0,10,10"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBoxItem}">
					<Grid SnapsToDevicePixels="true">
						<Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsSelected" Value="true">
							<Setter Property="Background" Value="#FFFFFF" TargetName="Border"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="TagsListStyle" TargetType="{x:Type ListBox}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBox}" >
					<ScrollViewer
					  VerticalScrollBarVisibility="Disabled"
					  HorizontalScrollBarVisibility="Disabled" Margin="5,5,5,5">
						<WrapPanel IsItemsHost="True" />
					</ScrollViewer>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>	

	<Style x:Key="FamilyListView" TargetType="ListView">
		<Setter Property="Margin" Value="0,2,0,0"/>
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListView">
					<Border Name="Border">
						<ScrollViewer Style="{DynamicResource
                        {x:Static GridView.GridViewScrollViewerStyleKey}}">
							<ItemsPresenter />
						</ScrollViewer>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type GridViewColumnHeader}">
		<Setter Property="GridViewColumnHeader.Template">
			<Setter.Value>
				<ControlTemplate>
					<TextBlock Margin="2,0,0,2" Text="{TemplateBinding GridViewColumnHeader.Content}" TextAlignment="Left" VerticalAlignment="Center" Foreground="{DynamicResource GridHeaderFontColor}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="NameGridViewColumnHeader" TargetType="{x:Type GridViewColumnHeader}">
		<Setter Property="GridViewColumnHeader.Template">
			<Setter.Value>
				<ControlTemplate>
					<TextBlock Margin="4,0,0,2" Text="{TemplateBinding GridViewColumnHeader.Content}" TextAlignment="Left" VerticalAlignment="Center" Foreground="{DynamicResource GridHeaderFontColor}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="HeaderStyle" TargetType="{x:Type TextBlock}">
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="FontSize" Value="18"/>
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="Margin" Value="10,0,10,10"/>
	</Style>

	<Style x:Key="SectionHeaderStyle" TargetType="{x:Type TextBlock}">
		<Setter Property="TextWrapping" Value="NoWrap"/>
		<Setter Property="TextTrimming" Value="None"/>
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="FontSize" Value="13"/>
	</Style>

	<Style x:Key="DetailsBorderStyle" TargetType="{x:Type Border}">
		<Setter Property="CornerRadius" Value="10,10,10,10"/>
		<Setter Property="BorderThickness" Value="1,1,1,1"/>
		<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}"/>
		<Setter Property="Margin" Value="10,10,10,0"/>
		<Setter Property="Padding" Value="5,5,5,5"/>
		<Setter Property="Background" Value="#FF262626"/>
	</Style>

	<Style TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorButton}" >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="NormalButtonStyle" TargetType="{x:Type Button}">
		<Setter Property="Foreground" Value="#FFFFFF" />
		<Setter Property="Width" Value="60"/>
		<Setter Property="Height" Value="20"/>
		<Setter Property="FontSize" Value="10"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle x:Name="Rectangle" Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF4A7DDB" Offset="0.335"/>
									<GradientStop Color="#FF75B5E0" Offset="0.879"/>
									<GradientStop Color="#FF04448C" Offset="0.011"/>
									<GradientStop Color="#FF75B5E0" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="Rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF5287E8" Offset="0.335"/>
										<GradientStop Color="#FFA4D4F4" Offset="0.879"/>
										<GradientStop Color="#FF075AB7" Offset="0.011"/>
										<GradientStop Color="#FFA4D4F4" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="BlackButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="RedButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF570606" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF882119" Offset="0.234"/>
									<GradientStop Color="#FFC78A81" Offset="0.879"/>
									<GradientStop Color="#FF440D09" Offset="0.004"/>
									<GradientStop Color="#FFC78A81" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FFC72E23" Offset="0.234"/>
										<GradientStop Color="#FFEAA49A" Offset="0.879"/>
										<GradientStop Color="#FF9A2017" Offset="0.004"/>
										<GradientStop Color="#FFEAA49A" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}"/>

	<Style x:Key="RepeatButtonStyle" TargetType="{x:Type RepeatButton}" BasedOn="{x:Null}">
		<Setter Property="Background" Value="{DynamicResource NormalBrush}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrush}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Grid>
						<Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
						<ContentPresenter HorizontalAlignment="Center" x:Name="ContentPresenter" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="BorderBrush" Value="{DynamicResource DefaultedBorderBrush}" TargetName="Border"/>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Setter Property="Background" Value="{DynamicResource PressedBrush}" TargetName="Border"/>
							<Setter Property="BorderBrush" Value="{DynamicResource PressedBorderBrush}" TargetName="Border"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
							<Setter Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ThumbStyle" TargetType="{x:Type Thumb}" BasedOn="{x:Null}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<Grid Margin="0,0,0,0" x:Name="Grid">
						<Rectangle HorizontalAlignment="Stretch" x:Name="Rectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="2" RadiusY="2" Fill="#FF414C6F" Stroke="#FFFFFFFF"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True"/>
						<Trigger Property="IsEnabled" Value="False"/>
						<Trigger Property="IsDragging" Value="True"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ScrollRepeatButtonStyle" TargetType="{x:Type RepeatButton}">
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="BorderBrush" Value="Transparent"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Grid>
						<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type ScrollBar}">
		<Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollBar}">
					<Grid x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
						<Grid.RowDefinitions>
							<RowDefinition MaxHeight="18"/>
							<RowDefinition Height="0.00001*"/>
							<RowDefinition MaxHeight="18"/>
						</Grid.RowDefinitions>

						<RepeatButton x:Name="DecreaseRepeat" Style="{DynamicResource RepeatButtonStyle}" Command="ScrollBar.LineUpCommand" Background="Transparent" BorderBrush="{x:Null}" BorderThickness="0,0,0,0">
							<Grid>
								<Path x:Name="DecreaseArrow" StrokeThickness="1" Data="M 0 4 L 8 4 L 4 0 Z" RenderTransformOrigin="0.5,0.5" Stroke="#FF414C6F" Margin="0.75,0,-0.757,0"/>
							</Grid>
						</RepeatButton>

						<Track Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
							<Track.Thumb>
								<Thumb Style="{DynamicResource ThumbStyle}" Width="10"/>
							</Track.Thumb>
							<Track.IncreaseRepeatButton>
								<RepeatButton x:Name="PageUp" Style="{DynamicResource ScrollRepeatButtonStyle}" Command="ScrollBar.PageDownCommand"/>
							</Track.IncreaseRepeatButton>
							<Track.DecreaseRepeatButton>
								<RepeatButton x:Name="PageDown" Style="{DynamicResource ScrollRepeatButtonStyle}" Command="ScrollBar.PageUpCommand"/>
							</Track.DecreaseRepeatButton>
						</Track>

						<RepeatButton Grid.Row="2" x:Name="IncreaseRepeat" Style="{DynamicResource RepeatButtonStyle}" Command="ScrollBar.LineDownCommand" Background="Transparent" BorderBrush="{x:Null}" BorderThickness="0,0,0,0">
							<Grid>
								<Path x:Name="IncreaseArrow" StrokeThickness="1" Data="M 0 0 L 4 4 L 8 0 Z" RenderTransformOrigin="0.5,0.5" Stroke="#FF414C6F" Margin="0.75,0,-0.757,0"/>
							</Grid>
						</RepeatButton>
					</Grid>

					<ControlTemplate.Triggers>
						<Trigger Property="Orientation" Value="Horizontal">

							<Setter Property="LayoutTransform" TargetName="GridRoot">
								<Setter.Value>
									<RotateTransform Angle="-90"/>
								</Setter.Value>
							</Setter>

							<Setter TargetName="PART_Track" Property="Orientation" Value="Vertical"/>

							<Setter Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat"/>
							<Setter Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat"/>
							<Setter Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown"/>
							<Setter Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="MenuStyle" TargetType="{x:Type Menu}">
		<Setter Property="Background" Value="{x:Null}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrush}"/>
		<Setter Property="SnapsToDevicePixels" Value="True"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Menu}">
					<Grid>
						<Border Margin="1" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
						<StackPanel Background="{TemplateBinding Background}" IsItemsHost="True" ClipToBounds="True" Orientation="Horizontal"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border"/>
							<Setter Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="MenuItemStyle" TargetType="{x:Type MenuItem}">
		<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type MenuItem}">
					<Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{x:Null}" BorderThickness="1,1,1,1" CornerRadius="3,3,3,3" Margin="0,0,10,0">
						<Grid>

							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="*"/>
								<ColumnDefinition Width="14"/>
							</Grid.ColumnDefinitions>

							<ContentPresenter Margin="{TemplateBinding Padding}" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header"/>

							<Grid Grid.Column="1" Margin="0,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
								<Path x:Name="ArrowPanelPath" Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Data="M-1.0089707E-11,0.0050000012 L8.03125,-3.5155176E-24 3.9995833,4.095 z" Height="4.095"/>
							</Grid>

							<Popup IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" VerticalOffset="0" PopupAnimation="Slide">
								<Grid x:Name="SubMenu">
									<Border x:Name="SubMenuBorder" Background="{DynamicResource PopupMenuBackgroundBrush}" BorderBrush="{x:Null}" BorderThickness="1"/>
									<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
								</Grid>
							</Popup>

						</Grid>
					</Border>

					<ControlTemplate.Triggers>

						<Trigger Property="Role" Value="TopLevelHeader">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter Property="Placement" Value="Bottom" TargetName="SubMenuPopup"/>
						</Trigger>

						<Trigger Property="Role" Value="TopLevelItem">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						</Trigger>

						<Trigger Property="Role" Value="SubmenuHeader">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter Property="Grid.IsSharedSizeScope" Value="true"/>
						</Trigger>

						<Trigger Property="Role" Value="SubmenuItem">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						</Trigger>
						<Trigger Property="IsSuspendingPopupAnimation" Value="true">
							<Setter Property="PopupAnimation" Value="None" TargetName="SubMenuPopup"/>
						</Trigger>

						<Trigger Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
							<Setter Property="Margin" Value="0,0,3,3" TargetName="SubMenu"/>
							<Setter Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu"/>
							<Setter Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder"/>
						</Trigger>

						<Trigger Property="IsHighlighted" Value="true">
							<Setter Property="Background" TargetName="Border" Value="{DynamicResource MenuIsHighlightedBrush}"/>
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
							<Setter Property="BorderBrush" TargetName="Border" Value="#FF000000"/>
						</Trigger>

						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="Background" TargetName="Border" Value="{DynamicResource MenuPressedBrush}"/>
						</Trigger>

						<Trigger Property="IsPressed" Value="true">
							<Setter Property="Background" TargetName="Border" Value="{DynamicResource MenuPressedBrush}"/>
						</Trigger>

						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledMenuForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>	

	<Style x:Key="SidebarMenuStyle" TargetType="{x:Type Menu}">
		<Setter Property="Background" Value="{DynamicResource MenuBackground}"/>
		<Setter Property="FontFamily" Value="{DynamicResource {x:Static SystemFonts.MenuFontFamilyKey}}"/>
		<Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.MenuFontSizeKey}}"/>
		<Setter Property="FontStyle" Value="{DynamicResource {x:Static SystemFonts.MenuFontStyleKey}}"/>
		<Setter Property="FontWeight" Value="{DynamicResource {x:Static SystemFonts.MenuFontWeightKey}}"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.MenuTextBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Menu}">
					<Border SnapsToDevicePixels="true" BorderThickness="1,1,1,1" Padding="{TemplateBinding Padding}" BorderBrush="{DynamicResource BorderBrush}">
						<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="SidebarMenuItemStyle" TargetType="{x:Type MenuItem}">
		<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.MenuTextBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type MenuItem}">
					<Border x:Name="Border" Background="{DynamicResource InputBackgroundBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
						<Grid>

							<Grid.ColumnDefinitions>
								<ColumnDefinition MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup"/>
								<ColumnDefinition Width="*"/>
								<ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup"/>
								<ColumnDefinition Width="14"/>
							</Grid.ColumnDefinitions>

							<ContentPresenter Margin="4,0,6,0" x:Name="Icon" VerticalAlignment="Center" ContentSource="Icon"/>

							<Grid Visibility="Hidden" Margin="4,0,6,0" x:Name="GlyphPanel" VerticalAlignment="Center">
								<Path x:Name="GlyphPanelpath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z" FlowDirection="LeftToRight"/>
							</Grid>

							<ContentPresenter Grid.Column="1" Margin="{TemplateBinding Padding}" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header"/>

							<Grid Grid.Column="3" Margin="4,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
								<Path x:Name="ArrowPanelPath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,0 L0,8 L4,4 z"/>
							</Grid>

							<Popup IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" VerticalOffset="-3">
								<Grid x:Name="SubMenu">
									<Border x:Name="SubMenuBorder" Background="{DynamicResource InputBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>

									<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
								</Grid>
							</Popup>

						</Grid>
					</Border>

					<ControlTemplate.Triggers>

						<Trigger Property="Role" Value="TopLevelHeader">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter Property="Grid.IsSharedSizeScope" Value="true"/>
							<Setter Property="Placement" Value="Bottom" TargetName="SubMenuPopup"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						</Trigger>

						<Trigger Property="Role" Value="TopLevelItem">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						</Trigger>

						<Trigger Property="Role" Value="SubmenuHeader">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter Property="Grid.IsSharedSizeScope" Value="true"/>
						</Trigger>

						<Trigger Property="Role" Value="SubmenuItem">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="ArrowPanel"/>
						</Trigger>
						<Trigger Property="IsSuspendingPopupAnimation" Value="true">
							<Setter Property="PopupAnimation" Value="None" TargetName="SubMenuPopup"/>
						</Trigger>

						<Trigger Property="Icon" Value="{x:Null}">
							<Setter Property="Visibility" Value="Collapsed" TargetName="Icon"/>
						</Trigger>

						<Trigger Property="IsChecked" Value="true">
							<Setter Property="Visibility" Value="Visible" TargetName="GlyphPanel"/>
							<Setter Property="Visibility" Value="Collapsed" TargetName="Icon"/>
						</Trigger>

						<Trigger Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
							<Setter Property="Margin" Value="0,0,3,3" TargetName="SubMenu"/>
							<Setter Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu"/>
							<Setter Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder"/>
						</Trigger>

						<Trigger Property="IsHighlighted" Value="true">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
							<Setter Property="Background" TargetName="Border" Value="{DynamicResource BackgroundBrush}"/>
							<Setter Property="Background" TargetName="SubMenuBorder" Value="{DynamicResource InputBackgroundBrush}"/>
							<Setter Property="BorderBrush" TargetName="SubMenuBorder" Value="{DynamicResource BorderBrush}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>	

	<Style x:Key="SliderStyle1" TargetType="{x:Type Slider}">
		<Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Foreground" Value="#FFC4C4C4"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Slider}">
					<Border SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
						<Grid>
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
								<RowDefinition Height="Auto"/>
							</Grid.RowDefinitions>
							<TickBar Visibility="Collapsed" x:Name="TopTick" Height="4" Grid.Row="0" Fill="{TemplateBinding Foreground}" Placement="Top"/>
							<TickBar Visibility="Collapsed" x:Name="BottomTick" Height="4" Grid.Row="2" Fill="{TemplateBinding Foreground}" Placement="Bottom"/>
							<Border Margin="5,0" x:Name="TrackBackground" VerticalAlignment="center" Height="4.0" Grid.Row="1" Background="{StaticResource HorizontalSliderTrackNormalBackground}" BorderBrush="{StaticResource HorizontalSliderTrackNormalBorder}" BorderThickness="1" CornerRadius="1">
								<Canvas Margin="-6,-1">
									<Rectangle Visibility="Hidden" x:Name="PART_SelectionRange" Height="4.0" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1.0"/>
								</Canvas>
							</Border>
							<Track x:Name="PART_Track" Grid.Row="1">
								<Track.DecreaseRepeatButton>
									<RepeatButton Style="{StaticResource SliderRepeatButtonStyle}" Command="{x:Static Slider.DecreaseLarge}"/>
								</Track.DecreaseRepeatButton>
								<Track.IncreaseRepeatButton>
									<RepeatButton Style="{StaticResource SliderRepeatButtonStyle}" Command="{x:Static Slider.IncreaseLarge}"/>
								</Track.IncreaseRepeatButton>
								<Track.Thumb>
									<Thumb x:Name="Thumb" Style="{StaticResource HorizontalSliderThumbStyle}"/>
								</Track.Thumb>
							</Track>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="TickPlacement" Value="TopLeft">
							<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/>
							<Setter Property="Style" TargetName="Thumb" Value="{StaticResource HorizontalSliderUpThumbStyle}"/>
							<Setter Property="Margin" TargetName="TrackBackground" Value="5,2,5,0"/>
						</Trigger>
						<Trigger Property="TickPlacement" Value="BottomRight">
							<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/>
							<Setter Property="Style" TargetName="Thumb" Value="{StaticResource HorizontalSliderDownThumbStyle}"/>
							<Setter Property="Margin" TargetName="TrackBackground" Value="5,0,5,2"/>
						</Trigger>
						<Trigger Property="TickPlacement" Value="Both">
							<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/>
							<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/>
						</Trigger>
						<Trigger Property="IsSelectionRangeEnabled" Value="true">
							<Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="Foreground" TargetName="Thumb" Value="Blue"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Style.Triggers>
			<Trigger Property="Orientation" Value="Vertical">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Slider}">
							<Border SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
								<Grid>
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/>
										<ColumnDefinition Width="Auto"/>
									</Grid.ColumnDefinitions>
									<TickBar Visibility="Collapsed" x:Name="TopTick" Width="4" Grid.Column="0" Fill="{TemplateBinding Foreground}" Placement="Left"/>
									<TickBar Visibility="Collapsed" x:Name="BottomTick" Width="4" Grid.Column="2" Fill="{TemplateBinding Foreground}" Placement="Right"/>
									<Border HorizontalAlignment="center" Margin="0,5" x:Name="TrackBackground" Width="4.0" Grid.Column="1" Background="{StaticResource HorizontalSliderTrackNormalBackground}" BorderBrush="{StaticResource VerticalSliderTrackNormalBorder}" BorderThickness="1" CornerRadius="1">
										<Canvas Margin="-1,-6">
											<Rectangle Visibility="Hidden" x:Name="PART_SelectionRange" Width="4.0" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1.0"/>
										</Canvas>
									</Border>
									<Track x:Name="PART_Track" Grid.Column="1">
										<Track.DecreaseRepeatButton>
											<RepeatButton Style="{StaticResource SliderRepeatButtonStyle}" Command="{x:Static Slider.DecreaseLarge}"/>
										</Track.DecreaseRepeatButton>
										<Track.IncreaseRepeatButton>
											<RepeatButton Style="{StaticResource SliderRepeatButtonStyle}" Command="{x:Static Slider.IncreaseLarge}"/>
										</Track.IncreaseRepeatButton>
										<Track.Thumb>
											<Thumb x:Name="Thumb" Style="{StaticResource VerticalSliderThumbStyle}"/>
										</Track.Thumb>
									</Track>
								</Grid>
							</Border>
							<ControlTemplate.Triggers>
								<Trigger Property="TickPlacement" Value="TopLeft">
									<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/>
									<Setter Property="Style" TargetName="Thumb" Value="{StaticResource VerticalSliderLeftThumbStyle}"/>
									<Setter Property="Margin" TargetName="TrackBackground" Value="2,5,0,5"/>
								</Trigger>
								<Trigger Property="TickPlacement" Value="BottomRight">
									<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/>
									<Setter Property="Style" TargetName="Thumb" Value="{StaticResource VerticalSliderRightThumbStyle}"/>
									<Setter Property="Margin" TargetName="TrackBackground" Value="0,5,2,5"/>
								</Trigger>
								<Trigger Property="TickPlacement" Value="Both">
									<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/>
									<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/>
								</Trigger>
								<Trigger Property="IsSelectionRangeEnabled" Value="true">
									<Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/>
								</Trigger>
								<Trigger Property="IsKeyboardFocused" Value="true">
									<Setter Property="Foreground" TargetName="Thumb" Value="Blue"/>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Trigger>
		</Style.Triggers>
	</Style>

	<Style x:Key="ButtonFirst" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid RenderTransformOrigin="0.5,0.5" Margin="7.584,5.37,7.584,5.37">
							<Grid.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Grid.RenderTransform>
							<Path RenderTransformOrigin="0.5,0.5" Margin="0,2.275,0.046,2.2" Width="Auto" Height="Auto" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Data="M0,0 L18,0 0,18 z">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-45"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Rectangle RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="3.752" Height="Auto" Fill="#FFFFFFFF" Stroke="{x:Null}">
								<Rectangle.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Rectangle.RenderTransform>
							</Rectangle>
						</Grid>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonPrevious" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Margin="10.983,7.608,0,0" VerticalAlignment="Top" Width="10.785" Height="10.785" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Data="M0,0 L18,0 0,18 z">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="-45"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonNext" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Margin="4.879,7.608,0,0" VerticalAlignment="Top" Width="10.785" Height="10.785" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Data="M0,0 L18,0 0,18 z">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="135"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonLast" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid RenderTransformOrigin="0.5,0.5" Margin="7.584,5.37,7.584,5.37">
							<Grid.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="180"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Grid.RenderTransform>
							<Path RenderTransformOrigin="0.5,0.5" Margin="0,2.275,0.046,2.2" Width="Auto" Height="Auto" Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Data="M0,0 L18,0 0,18 z">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-45"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Rectangle RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="3.752" Height="Auto" Fill="#FFFFFFFF" Stroke="{x:Null}">
								<Rectangle.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Rectangle.RenderTransform>
							</Rectangle>
						</Grid>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonUndoAll" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<Ellipse Width="Auto" Height="Auto" Fill="#FFFF0000" Stroke="{x:Null}" Margin="5.5,5.5,5.5,5.5"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonUndoLast" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<Ellipse Width="Auto" Height="Auto" Fill="#FFFF0000" Stroke="{x:Null}" Margin="5.5,5.5,5.5,5.5"/>
						<Path RenderTransformOrigin="0,0" HorizontalAlignment="Right" Margin="0,5.875,4.118,6.042" Width="7.868" Fill="#FFFFFFFF" Stretch="Fill" Data="M3.890625,4.3609371 L3.890625,12.107031 L5.7832031,12.107031 L5.7832031,12.950781 L1.03125,12.950781 L1.03125,12.107031 L2.9296875,12.107031 L2.9296875,5.5796871 L0.98437494,6.1597652 L0.98437494,5.2457027 z">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonRecordLast" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<Ellipse Width="Auto" Height="Auto" Fill="#FF00FF00" Stroke="{x:Null}" Margin="5.5,5.5,5.5,5.5"/>
						<Path RenderTransformOrigin="0,0" HorizontalAlignment="Right" Margin="0,5.875,4.118,6.042" Width="7.868" Fill="#FFFFFFFF" Stretch="Fill" Data="M3.890625,4.3609371 L3.890625,12.107031 L5.7832031,12.107031 L5.7832031,12.950781 L1.03125,12.950781 L1.03125,12.107031 L2.9296875,12.107031 L2.9296875,5.5796871 L0.98437494,6.1597652 L0.98437494,5.2457027 z">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonRecordAll" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>

						<Ellipse Width="Auto" Height="Auto" Fill="#FF00FF00" Stroke="{x:Null}" Margin="5.5,5.5,5.5,5.5"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonDelete" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="26" Height="26">
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path RenderTransformOrigin="0,0" Margin="4.118,6.042,4.118,6.042" Fill="#FFFF0000" Stretch="Fill" Data="M0.140625,3.9852085 L5.90625,3.9852085 L7.6640625,6.180521 L9.34375,3.9852085 L15.070313,3.9852085 L10.5625,9.8445835 L15.359375,15.907084 L9.5859375,15.907084 L7.6953125,13.539896 L5.875,15.907084 L0.140625,15.907084 L4.796875,9.8758335 z">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF41599A" Offset="0.277"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.879"/>
										<GradientStop Color="#FF124376" Offset="0.011"/>
										<GradientStop Color="#FFB6C7CF" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="DataGridStyle" TargetType="{x:Type Custom:DataGridControl}">
		<Style.BasedOn>
			<Style TargetType="{x:Type Custom:DataGridControl}">
				<Style.Resources>
					<ResourceDictionary>
						<ResourceDictionary.MergedDictionaries>
							<ResourceDictionary>
								<Style TargetType="{x:Type Custom:TableView}">
									<Setter Property="ShowRowSelectorPane" Value="False" />
								</Style>
								<Style TargetType="{x:Type Custom:ColumnManagerRow}">
									<Setter Property="Background" Value="{DynamicResource HeaderBackgroundColor}" />
									<Setter Property="Foreground" Value="{DynamicResource HeaderForegroundColor}"/>
								</Style>
								<Style x:Key="basicSplitter_style" TargetType="{x:Type Custom:FixedColumnSplitter}">
									<Setter Property="Background" Value="Gray"/>
								</Style>
								<Style TargetType="{x:Type Custom:DataRow}">
									<Setter Property="Custom:TableView.FixedColumnSplitterStyle" Value="{StaticResource basicSplitter_style}"/>
									<Setter Property="SelectionBackground" Value="{DynamicResource RowSelectionBackgroundColor}"/>
								</Style>
								<Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}">
									<Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
									<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
									<Setter Property="Template">
										<Setter.Value>
											<ControlTemplate TargetType="{x:Type ScrollBar}">
												<Grid x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
													<Grid.RowDefinitions>
														<RowDefinition MaxHeight="18"/>
														<RowDefinition Height="0.00001*"/>
														<RowDefinition MaxHeight="18"/>
													</Grid.RowDefinitions>

													<RepeatButton x:Name="DecreaseRepeat" Style="{DynamicResource RepeatButtonStyle}" Command="ScrollBar.LineUpCommand" Background="Transparent" BorderBrush="{x:Null}" BorderThickness="0,0,0,0">
														<Grid>
															<Path x:Name="DecreaseArrow" StrokeThickness="1" Data="M 0 4 L 8 4 L 4 0 Z" RenderTransformOrigin="0.5,0.5" Stroke="#FF414C6F" Margin="0.75,0,-0.757,0"/>
														</Grid>
													</RepeatButton>

													<Track Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
														<Track.Thumb>
															<Thumb Style="{DynamicResource ThumbStyle}" Width="10"/>
														</Track.Thumb>
														<Track.IncreaseRepeatButton>
															<RepeatButton x:Name="PageUp" Style="{DynamicResource ScrollRepeatButtonStyle}" Command="ScrollBar.PageDownCommand"/>
														</Track.IncreaseRepeatButton>
														<Track.DecreaseRepeatButton>
															<RepeatButton x:Name="PageDown" Style="{DynamicResource ScrollRepeatButtonStyle}" Command="ScrollBar.PageUpCommand"/>
														</Track.DecreaseRepeatButton>
													</Track>

													<RepeatButton Grid.Row="2" x:Name="IncreaseRepeat" Style="{DynamicResource RepeatButtonStyle}" Command="ScrollBar.LineDownCommand" Background="Transparent" BorderBrush="{x:Null}" BorderThickness="0,0,0,0">
														<Grid>
															<Path x:Name="IncreaseArrow" StrokeThickness="1" Data="M 0 0 L 4 4 L 8 0 Z" RenderTransformOrigin="0.5,0.5" Stroke="#FF414C6F" Margin="0.75,0,-0.757,0"/>
														</Grid>
													</RepeatButton>
												</Grid>

												<ControlTemplate.Triggers>
													<Trigger Property="Orientation" Value="Horizontal">

														<Setter Property="LayoutTransform" TargetName="GridRoot">
															<Setter.Value>
																<RotateTransform Angle="-90"/>
															</Setter.Value>
														</Setter>

														<Setter TargetName="PART_Track" Property="Orientation" Value="Vertical"/>

														<Setter Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat"/>
														<Setter Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat"/>
														<Setter Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown"/>
														<Setter Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp"/>
													</Trigger>
												</ControlTemplate.Triggers>
											</ControlTemplate>
										</Setter.Value>
									</Setter>
								</Style>
							</ResourceDictionary>
						</ResourceDictionary.MergedDictionaries>
					</ResourceDictionary>
				</Style.Resources>
			</Style>
		</Style.BasedOn>
	</Style>

	<Style x:Key="ButtonStyleAvancada" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path HorizontalAlignment="Stretch" Margin="7.69,8.442,7.56,4.247" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Fill="{x:Null}" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865"/>
						<Path Width="Auto" Height="5.304" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865" Margin="7.69,2.922,7.56,0" VerticalAlignment="Top" Fill="{x:Null}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ExcelButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ExcelBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="TimerButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource TimerBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="SalvarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BrushDivisionStyle}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="AjustarLarguraButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle_Copy" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" x:Name="grid" Background="{DynamicResource AjustarLarguraBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter Property="Margin" TargetName="grid" Value="0,0,0,0"/>
							<Setter Property="Background" TargetName="grid" Value="{DynamicResource AjustarLarguraBrush}"/>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Margin" TargetName="grid" Value="0,0,0,0"/>
							<Setter Property="Background" TargetName="grid" Value="{DynamicResource AjustarLarguraBrush}"/>
							<Setter Property="Fill" TargetName="rectangle_Copy">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.011"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.986"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="AnteriorButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource AnteriorBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="CopiarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource CopiarBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ExcluirButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ExcluirBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ExibirMenuButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ExibirMenuBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="FormularioButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource FormularioBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="GridButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource GridBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NovoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NovoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PrimeiroButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource PrimeiroBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ProximoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ProximoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="BoletoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BoletoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="BuscaButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BuscaBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="BuscaSemApagarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BuscaSemApagarBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="CalculadoraButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource CalculadoraBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="CalculaFinanceiroButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource CalculaFinanceiroBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="CasarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource CasarBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="DesfazerTudoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource DesfazerTudoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="DesfazerUltimoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource DesfazerUltimoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ExecutarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ExecutarBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="InfoClienteButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource InfoClienteBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="MenuButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource MenuBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NegociosPCasarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NegociosPCasarBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NetCorretoraButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NetCorretoraBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NetGeralButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NetGeralBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NetOperadorButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NetOperadorBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="NovaBuscaButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource NovaBuscaBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PesquisaClienteButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource PesquisaClienteBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PesquisaTituloButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource PesquisaTituloBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PreBoletoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource PreBoletoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="SalvarTudoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarTudoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="SalvarListaButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarListaBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="SalvarListagemButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarListagemBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="SalvarLayoutButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarLayoutBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="SalvarUltimoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarUltimoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="UltimoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource UltimoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="VinculoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource VinculoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="PesquisaAtividadeButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource PesquisaAtividadeBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="BovespaButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF1E1E1E" Offset="0.101"/>
									<GradientStop Color="#FF1E1E1E" Offset="0"/>
									<GradientStop Color="#FF5B5959" Offset="0.754"/>
									<GradientStop Color="#FF2F2F2F" Offset="0"/>
									<GradientStop Color="#FF5B5959" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="5,5,5,5" Background="{DynamicResource BovespaBrush}" x:Name="grid"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="rectangle" Value="{x:Null}" Property="Fill"/>
							<Setter TargetName="rectangle" Property="Stroke" Value="#FF969696"/>
							<Setter Property="Opacity" TargetName="rectangle" Value="1"/>
							<Setter Property="Margin" TargetName="grid" Value="4,4,4,4"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="BMFButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Fill="{x:Null}" Margin="0,0,0,0"/>
						<Canvas Margin="-6.66,0,6.66,0" RenderTransformOrigin="0.5,0.5" x:Name="canvas" VerticalAlignment="Top" Width="Auto" HorizontalAlignment="Stretch" Height="Auto">
							<Canvas.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="0.7" ScaleY="0.45"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Canvas.RenderTransform>
							<Grid Background="{DynamicResource BMF1Brush}" Height="25" RenderTransformOrigin="0.5,0.5" Width="115.000105133057" Canvas.Top="11.426" x:Name="grid" Canvas.Left="0" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Grid.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="0.955" ScaleY="1.054"/>
										<SkewTransform AngleX="-1.382" AngleY="-17.161"/>
										<RotateTransform Angle="2.1610000000000023"/>
										<TranslateTransform X="-5.322" Y="1.085"/>
									</TransformGroup>
								</Grid.RenderTransform>
							</Grid>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M2.1076934,0.50000006 L56.992344,0.50000006 79.384651,6.5000005 0.49999961,6.5000005 2.1076934,0.50000006 z" Canvas.Left="11.469" Canvas.Top="2.678" StrokeThickness="1" Stroke="#FF000000" x:Name="path" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="3.054646083721785"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M2.1076932,0.5 L2.9004951,0.5 25.292801,6.5000005 0.49999925,6.5000005 2.1076932,0.5 z" Canvas.Left="11.469" StrokeThickness="1" Stroke="#FF000000" x:Name="path1" Canvas.Top="-11.322" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="10.054646649765344"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M2.1076925,0.49999925 L29.946413,0.49999925 52.338718,6.5 0.50000036,6.5 2.1076925,0.49999925 z" Canvas.Left="11.469" Canvas.Top="-4.322" StrokeThickness="1" Stroke="#FF000000" x:Name="path2" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="6.5546472558273265"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M74.545578,0.50000072 L99.07811,0.50000072 97.470398,6.4999995 96.937881,6.4999995 74.545578,0.50000072 z" Canvas.Left="79.189" Canvas.Top="56.345" StrokeThickness="1" Stroke="#FF000000" x:Name="path3" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="-9.07596772766822"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M45.567577,0.49999958 L99.077682,0.49999958 97.469986,6.5 67.959885,6.5 45.567577,0.49999958 z" Canvas.Left="50.21" Canvas.Top="48.845" StrokeThickness="1" Stroke="#FF000000" x:Name="path4" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="-5.3259390357625591"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto" Fill="{DynamicResource AzulBrush}" Stretch="Fill" Data="F1 M16.589596,0.50000072 L99.077286,0.50000072 97.469589,6.4999995 38.981899,6.4999995 16.589596,0.50000072 z"  Canvas.Left="21.232" Canvas.Top="41.345" StrokeThickness="1" Stroke="#FF000000" x:Name="path5" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-14.999999999999998"/>
										<TranslateTransform X="-5" Y="-1.5759153102702292"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
						</Canvas>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="rectangle" Value="{x:Null}" Property="Fill"/>
							<Setter TargetName="rectangle" Property="Stroke" Value="#FF9C9797"/>
							<Setter Property="RenderTransform" TargetName="canvas">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="0.7" ScaleY="0.47"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="CustodiaButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Fill="{x:Null}"/>
						<Grid Margin="5,5,5,5" Background="{DynamicResource CustodiaBrush}" x:Name="grid"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="rectangle" Value="{x:Null}" Property="Fill"/>
							<Setter TargetName="rectangle" Property="Stroke" Value="#FF828181"/>
							<Setter Property="Margin" TargetName="grid" Value="4,4,4,4"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ContaCorrenteButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="{x:Null}" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Fill="{x:Null}"/>
						<Grid Margin="5,0,5,0" Background="{DynamicResource ContaCorrenteBrush}" x:Name="grid"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="rectangle" Property="Stroke" Value="#FF828282"/>
							<Setter TargetName="rectangle" Value="{x:Null}" Property="Fill"/>
							<Setter Property="Margin" TargetName="grid" Value="4,0,4,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorLabel}">
		<Setter Property="Foreground" Value="{DynamicResource FontColor}"/>
		<Setter Property="FontWeight" Value="Normal"/>
		<Setter Property="Padding" Value="0"/>
		<Setter Property="FontFamily" Value="Segoe UI"/>
		<Setter Property="FontSize" Value="13"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorLabel}">
					<Border BorderThickness="{TemplateBinding Border.BorderThickness}" Padding="{TemplateBinding Control.Padding}" BorderBrush="{TemplateBinding Border.BorderBrush}" Background="{TemplateBinding Panel.Background}" SnapsToDevicePixels="True">
						<ContentPresenter
						  x:Name="PART_ContentPresenter"
						  RecognizesAccessKey="True"
						  Content="{TemplateBinding ContentControl.Content}"
						  ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}"
						  ContentTemplateSelector="{TemplateBinding ContentControl.ContentTemplateSelector}"
						  HorizontalAlignment="{TemplateBinding Control.HorizontalContentAlignment}"
						  VerticalAlignment="{TemplateBinding Control.VerticalContentAlignment}"
						  SnapsToDevicePixels="{TemplateBinding UIElement.SnapsToDevicePixels}" />
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="UIElement.IsEnabled" Value="false">
							<Setter Property="TextElement.Foreground">
								<Setter.Value>
									<DynamicResource ResourceKey="DisabledForegroundBrush" />
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="SimpleLabel" BasedOn="{StaticResource {x:Type Sinacor_Infra_UI_Controls:SinacorLabel}}" TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorLabel}" />

	<Style x:Key="SimpleComboBoxStyle" TargetType="{x:Type ComboBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ComboBox}">
					<Grid>
						<ToggleButton Grid.Column="2" Template="{DynamicResource ComboBoxToggleButton}" x:Name="ToggleButton" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"/>
						<ContentPresenter HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="ContentSite" VerticalAlignment="Center" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" IsHitTestVisible="False"/>

						<TextBox Visibility="Hidden" Template="{DynamicResource ComboBoxTextBox}" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="PART_EditableTextBox" Style="{x:Null}" VerticalAlignment="Center" Focusable="True" Background="Transparent" IsReadOnly="{TemplateBinding IsReadOnly}"/>

						<Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
							<Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
								<Border x:Name="DropDownBorder" Background="{DynamicResource WindowBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>
								<ScrollViewer Margin="4,6,4,6" Style="{DynamicResource SimpleScrollViewer}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">

									<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained"/>

								</ScrollViewer>
							</Grid>
						</Popup>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="HasItems" Value="false">
							<Setter Property="MinHeight" Value="95" TargetName="DropDownBorder"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
						<Trigger Property="AllowsTransparency" SourceName="Popup" Value="true">
							<Setter Property="CornerRadius" Value="4" TargetName="DropDownBorder"/>
							<Setter Property="Margin" Value="0,2,0,0" TargetName="DropDownBorder"/>
						</Trigger>
						<Trigger Property="IsEditable" Value="true">
							<Setter Property="IsTabStop" Value="false"/>
							<Setter Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox"/>
							<Setter Property="Visibility" Value="Hidden" TargetName="ContentSite"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorComboBox}">
		<Setter Property="Foreground" Value="{DynamicResource InputFontColor}"/>
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="Padding" Value="4,0,0,0"/>
		<Setter Property="HorizontalAlignment" Value="Left"/>
		<Setter Property="VerticalAlignment" Value="Center"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorComboBox}">
					<Grid>
						<ToggleButton
						  x:Name="ToggleButton"
						  Template="{DynamicResource ComboBoxToggleButton}"
						  Focusable="false"
						  IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
						  ClickMode="Press" />

						<Grid>
							<Grid.ColumnDefinitions>
								<ColumnDefinition/>
								<ColumnDefinition Width="20"/>
							</Grid.ColumnDefinitions>
							<Sinacor_Infra_UI_Controls:SinacorLabel
							  x:Name="PART_SelectedItem"
							  Content="{TemplateBinding ComboBox.SelectionBoxItem}"
							  ContentTemplate="{TemplateBinding ComboBox.SelectionBoxItemTemplate}"
							  ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
							  Margin="{TemplateBinding Control.Padding}"
							  HorizontalAlignment="{TemplateBinding Control.HorizontalContentAlignment}"
							  VerticalAlignment="{TemplateBinding Control.VerticalContentAlignment}"
							  SnapsToDevicePixels="{TemplateBinding UIElement.SnapsToDevicePixels}"
							  EnumConverter="{TemplateBinding EnumConverter}"
							  Foreground="{TemplateBinding Foreground}"
							  IsHitTestVisible="False"
							  Grid.Column="0" />
							<TextBox Visibility="Hidden"
							  Template="{DynamicResource ComboBoxTextBox}"
							  HorizontalAlignment="Left" Margin="3,3,23,3"
							  x:Name="PART_EditableTextBox"
							  Style="{x:Null}"
							  VerticalAlignment="Center"
							  Focusable="True"
							  Background="Transparent"
							  IsReadOnly="{TemplateBinding IsReadOnly}"
							  Grid.Column="0"/>
						</Grid>



						<Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
							<Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
								<Border x:Name="DropDownBorder" Background="{DynamicResource WindowBackgroundBrush}" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1"/>
								<ScrollViewer Margin="4,6,4,6" Style="{DynamicResource SimpleScrollViewer}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">

									<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" />

								</ScrollViewer>
							</Grid>
						</Popup>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Foreground" Value="{DynamicResource FontColor}" TargetName="PART_SelectedItem"/>
						</Trigger>
						<Trigger Property="HasItems" Value="false">
							<Setter Property="MinHeight" Value="95" TargetName="DropDownBorder"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
						<Trigger Property="AllowsTransparency" SourceName="Popup" Value="true">
							<Setter Property="CornerRadius" Value="4" TargetName="DropDownBorder"/>
							<Setter Property="Margin" Value="0,2,0,0" TargetName="DropDownBorder"/>
						</Trigger>
						<Trigger Property="IsEditable" Value="true">
							<Setter Property="IsTabStop" Value="false"/>
							<Setter Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox"/>
							<Setter Property="Visibility" Value="Hidden" TargetName="PART_SelectedItem"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="SimpleComboBox" TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorComboBox}" BasedOn="{StaticResource {x:Type Sinacor_Infra_UI_Controls:SinacorComboBox}}" />

	<Style TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorComboBoxItem}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorComboBoxItem}">
					<Border BorderThickness="{TemplateBinding Border.BorderThickness}" Padding="{TemplateBinding Control.Padding}" BorderBrush="{TemplateBinding Border.BorderBrush}" Background="{TemplateBinding Panel.Background}" Name="Bd" SnapsToDevicePixels="True">
						<ContentPresenter
						  x:Name="PART_ContentPresenter"
						  Content="{TemplateBinding ContentControl.Content}"
						  ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}"
						  ContentTemplateSelector="{TemplateBinding ContentControl.ContentTemplateSelector}"
						  HorizontalAlignment="{TemplateBinding Control.HorizontalContentAlignment}"
						  VerticalAlignment="{TemplateBinding Control.VerticalContentAlignment}"
						  SnapsToDevicePixels="{TemplateBinding UIElement.SnapsToDevicePixels}" />
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="ComboBoxItem.IsHighlighted">
							<Setter Property="Panel.Background" TargetName="Bd">
								<Setter.Value>
									<DynamicResource ResourceKey="SelectedBackgroundBrush" />
								</Setter.Value>
							</Setter>
							<Setter Property="TextElement.Foreground">
								<Setter.Value>
									<DynamicResource ResourceKey="SelectedForegroundBrush" />
								</Setter.Value>
							</Setter>
							<Trigger.Value>
								<s:Boolean>True</s:Boolean>
							</Trigger.Value>
						</Trigger>
						<Trigger Property="UIElement.IsEnabled">
							<Setter Property="TextElement.Foreground">
								<Setter.Value>
									<DynamicResource ResourceKey="DisabledForegroundBrush" />
								</Setter.Value>
							</Setter>
							<Setter Property="TextElement.Foreground">
								<Setter.Value>
									<DynamicResource ResourceKey="DisabledForegroundBrush" />
								</Setter.Value>
							</Setter>
							<Trigger.Value>
								<s:Boolean>False</s:Boolean>
							</Trigger.Value>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<BorderGapMaskConverter x:Key="BorderGapMaskConverter"/>

	<Style TargetType="{x:Type Sinacor_Infra_UI_Controls:SinacorGroupBox}">
		<Setter Property="BorderBrush" Value="Black"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type GroupBox}">
					<Grid>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="6"/>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="6"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="*"/>
							<RowDefinition Height="6"/>
						</Grid.RowDefinitions>
						<Border Grid.Column="0" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4"/>
						<Border x:Name="Header" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Padding="3,0,3,0">
							<ContentPresenter Width="Auto" TextElement.Foreground="{DynamicResource GroupBoxHeaderBrush}" ContentSource="Header" RecognizesAccessKey="True"/>
						</Border>
						<ContentPresenter Margin="{TemplateBinding Padding}" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2"/>
						<Border Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="4" BorderThickness="1.5,1.5,1.5,1.5">
							<Border.OpacityMask>
								<MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
									<Binding Path="ActualWidth" ElementName="Header"/>
									<Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}"/>
									<Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}"/>
								</MultiBinding>
							</Border.OpacityMask>
						</Border>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	

	<Style x:Key="AceitaItemButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource AceitaItemBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonCalendarioAnterior" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="20" Height="20">
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Width="20" Height="20" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path HorizontalAlignment="Stretch" Margin="2.25,7.5,7.75,7.5" VerticalAlignment="Stretch" Width="10" Height="5" Fill="{x:Null}" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="90"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<Path HorizontalAlignment="Stretch" Margin="7.25,7.5,2.75,7.5" VerticalAlignment="Stretch" Width="10" Height="5" Fill="{x:Null}" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="90"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="ButtonCalendarioProximo" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="20" Height="20">
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" Width="20" Height="20" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Path HorizontalAlignment="Stretch" Margin="2.25,7.5,7.75,7.5" VerticalAlignment="Stretch" Width="10" Height="5" Fill="{x:Null}" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="270"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<Path HorizontalAlignment="Stretch" Margin="7.25,7.5,2.75,7.5" VerticalAlignment="Stretch" Width="10" Height="5" Fill="{x:Null}" Stretch="Fill" Stroke="#FFEFE8E8" Data="M3,2.875 L9.9375,9.8125 16.249045,2.6874865" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="270"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

<Style x:Key="AtividadesButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource AtividadeButtonStyle}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ButtonClose" TargetType="{x:Type Button}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid>
							<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
							<Path Width="Auto" Height="Auto" Stretch="Fill" Stroke="#FFC0BFBF" Data="M1.8904008,18.858947 L17.529141,1.3946466" Margin="7.121,3.24,6.908,3.34" VerticalAlignment="Stretch" Fill="{x:Null}" StrokeThickness="2" RenderTransformOrigin="0.5,0.5">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="0.8" ScaleY="0.8"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path Width="Auto" Height="Auto" Stretch="Fill" Stroke="#FFC0BFBF" Data="M1.8904008,18.858947 L17.529141,1.3946466" Margin="7.121,3.24,6.908,3.34" VerticalAlignment="Stretch" Fill="{x:Null}" StrokeThickness="2" RenderTransformOrigin="0.5,0.5">
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="-0.8" ScaleY="0.8"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
						</Grid>
						<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	<Style x:Key="SalvarAutomaticoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource SalvarAutomaticoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="IrAoTopoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource IrAoTopoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="BovespanovoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BovespanovoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="BMFnovoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource BMFnovoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="CustodianovoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource CustodianovoBrush1}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ContaCorrentenovoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Grid Margin="0,0,0,0" Background="{DynamicResource ContaCorrentenovoBrush}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
							<Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="RestaurarPadraoButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid Width="Auto" Height="Auto">
						<Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									<GradientStop Color="#FF273763" Offset="0.277"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									<GradientStop Color="#FF092644" Offset="0.011"/>
									<GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True" Content=""/>
						<Grid HorizontalAlignment="Stretch" Margin="0,0,0,1" Width="Auto" Background="{DynamicResource Brush_RestaurarPadroes}"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Fill" TargetName="rectangle">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										<GradientStop Color="#FF273763" Offset="0.277"/>
										<GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										<GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									</LinearGradientBrush>
								</Setter.Value>
							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="FecharStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Grid>
						<Grid Margin="0,0,0,0" Background="{DynamicResource FecharBrush}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>


	 <Style x:Key="DatePickerHoraStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource DatePickerHoraBrush}"/>
					 </Grid>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

	 <Style x:Key="DatePickerSetaAcimaStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource DatePickerSetaAcimaBrush}"/>
					 </Grid>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

	 <Style x:Key="DatePickerDataStyle" TargetType="{x:Type Button}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource DatePickerDataBrush}"/>
					 </Grid>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

	 <Style x:Key="DatePickerSetaAbaixoStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource DatePickerSetaAbaixoBrush}"/>
					 </Grid>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

   <Style x:Key="UndoSelectedStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
     <Setter Property="Template">
       <Setter.Value>
         <ControlTemplate TargetType="{x:Type Button}">
           <Grid>
             <Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle">
               <Rectangle.Fill>
                 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
                   <GradientStop Color="#FF1E1E1E" Offset="0.101"/>
                   <GradientStop Color="#FF1E1E1E" Offset="0.49"/>
                   <GradientStop Color="#FF5B5959" Offset="0.51"/>
                   <GradientStop Color="#FF2F2F2F" Offset="0"/>
                   <GradientStop Color="#FF5B5959" Offset="0.986"/>
                 </LinearGradientBrush>
               </Rectangle.Fill>
             </Rectangle>
             <Grid Background="{DynamicResource UndoSelectedBrush}"/>
             <!--<Rectangle Fill="#FFFC0404" Stroke="#FFFC0404" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,6.666,5.333,0" VerticalAlignment="Top" Width="10.166" Height="3.334"/>-->
           </Grid>
           <ControlTemplate.Triggers>
             <Trigger Property="IsKeyboardFocused" Value="true"/>
             <Trigger Property="IsMouseOver" Value="true">
               <Setter Property="Fill" TargetName="rectangle">
                 <Setter.Value>
                   <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
                     <GradientStop Color="#FF3A3A3A" Offset="0.101"/>
                     <GradientStop Color="#FF1E1E1E" Offset="0.49"/>
                     <GradientStop Color="#FFB0B0B0" Offset="0.51"/>
                     <GradientStop Color="#FF656565" Offset="0"/>
                     <GradientStop Color="#FF989898" Offset="0.938"/>
                     <GradientStop Color="#FF7F7F7F" Offset="0.986"/>
                   </LinearGradientBrush>
                 </Setter.Value>
               </Setter>
             </Trigger>
           </ControlTemplate.Triggers>
         </ControlTemplate>
       </Setter.Value>
     </Setter>
   </Style>

	 <Style x:Key="MarcarTodosStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							 <Rectangle.Fill>
								 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									 <GradientStop Color="#FF273763" Offset="0.277"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									 <GradientStop Color="#FF092644" Offset="0.011"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								 </LinearGradientBrush>
							 </Rectangle.Fill>
						 </Rectangle>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource MarcarTodosBrush}"/>
					 </Grid>
					 <ControlTemplate.Triggers>
						 <Trigger Property="IsKeyboardFocused" Value="true"/>
						 <Trigger Property="IsMouseOver" Value="true">
							 <Setter Property="Fill" TargetName="rectangle">
								 <Setter.Value>
									 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										 <GradientStop Color="#FF273763" Offset="0.277"/>
										 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									 </LinearGradientBrush>
								 </Setter.Value>
							 </Setter>
							 <Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						 </Trigger>
					 </ControlTemplate.Triggers>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

	 <Style x:Key="IncluirButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							 <Rectangle.Fill>
								 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									 <GradientStop Color="#FF273763" Offset="0.277"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									 <GradientStop Color="#FF092644" Offset="0.011"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								 </LinearGradientBrush>
							 </Rectangle.Fill>
						 </Rectangle>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource BotaoNovoBrush}"/>
					 </Grid>
					 <ControlTemplate.Triggers>
						 <Trigger Property="IsKeyboardFocused" Value="true"/>
						 <Trigger Property="IsMouseOver" Value="true">
							 <Setter Property="Fill" TargetName="rectangle">
								 <Setter.Value>
									 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										 <GradientStop Color="#FF273763" Offset="0.277"/>
										 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									 </LinearGradientBrush>
								 </Setter.Value>
							 </Setter>
							 <Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						 </Trigger>
					 </ControlTemplate.Triggers>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>
	 
	 <Style x:Key="AlterarButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource NormalButtonStyle}">
		 <Setter Property="Template">
			 <Setter.Value>
				 <ControlTemplate TargetType="{x:Type Button}">
					 <Grid>
						 <Rectangle Stroke="#FF000000" StrokeMiterLimit="1.000000" StrokeThickness="0.500000" RadiusX="5" RadiusY="5" x:Name="rectangle" >
							 <Rectangle.Fill>
								 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
									 <GradientStop Color="#FF273763" Offset="0.277"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
									 <GradientStop Color="#FF092644" Offset="0.011"/>
									 <GradientStop Color="#FFA6B5BC" Offset="0.986"/>
								 </LinearGradientBrush>
							 </Rectangle.Fill>
						 </Rectangle>
						 <Grid Margin="0,0,0,0" Background="{DynamicResource BotaoAlterarBrush}"/>
					 </Grid>
					 <ControlTemplate.Triggers>
						 <Trigger Property="IsKeyboardFocused" Value="true"/>
						 <Trigger Property="IsMouseOver" Value="true">
							 <Setter Property="Fill" TargetName="rectangle">
								 <Setter.Value>
									 <LinearGradientBrush EndPoint="0.501,0.039" StartPoint="0.501,0.971">
										 <GradientStop Color="#FF273763" Offset="0.277"/>
										 <GradientStop Color="#FFA6B5BC" Offset="0.879"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.035"/>
										 <GradientStop Color="#FFCBDDE5" Offset="0.98"/>
									 </LinearGradientBrush>
								 </Setter.Value>
							 </Setter>
							 <Setter Property="Margin" TargetName="rectangle" Value="0,0,0,0"/>
						 </Trigger>
					 </ControlTemplate.Triggers>
				 </ControlTemplate>
			 </Setter.Value>
		 </Setter>
	 </Style>

 </ResourceDictionary>